public class Test {
    public static void main(String[] args) {
        Solution s1=new Solution();
        int [] arr=new int[]{6,0,2,0,4};
        System.out.println(s1.IsContinuous(arr));
    }
}
